package com.happy.film.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wei.zhang
 * @since 2020-03-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_operator_log")
public class OperatorLog implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 标签表主键
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 操作ID
     */
    @TableField("operater_id")
    private String operaterId;

    /**
     * 操作名称
     */
    @TableField("operater_name")
    private String operaterName;

    /**
     * 操作名称
     */
    @TableField("operater_url")
    private String operaterUrl;

    /**
     * 浏览器头
     */
    @TableField("ua")
    private String ua;

    /**
     * 操作系统
     */
    @TableField("operationsystem")
    private String operationsystem;

    /**
     * 操作ip
     */
    @TableField("ip")
    private String ip;

    /**
     * 添加时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private LocalDateTime updateTime;


}
